<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="./css/css.css" type="text/css" />
<title>Insert title here</title>
</head>
<body>
<?php
require_once("test_db_connect.php");

    $sql = "select * from volunteer_information where volunteer_name like '%地球%' LIMIT 0, 30";

    $sth = $db->query($sql);
    if (DB::isError($sth)) {
        die($sth->getMessage());
    }

 //カテゴリ表示
    while ($data = $sth->fetchRow(DB_FETCHMODE_ASSOC)) {
   		echo $data["volunteer_name"];
   		echo "<br>";
    }
?>
</body>
</html>